package com.happy.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: lifeng
 * @Date: 2018/12/6 14:42
 * @Description:
 */
@FeignClient(value = "lf-cloud-demo",fallback = ErrorHystrix.class)
public interface FeignService {

    @RequestMapping(value = "port",method = RequestMethod.GET)
    String  hello();

}
